#ifndef PARAMETERA_H
#define PARAMETERS_H

#include <vector>
#include "parameterbase.h"

class Parameters
{
public:
    ~Parameters();
    bool addPara(const char *name, double val);
    bool addPara(const char *name, int val);

    bool getPara(const char *name, double &val);
    bool getPara(const char *name, int &val);
protected:
    std::vector<ParameterBase*> m_vecParas;
};

#endif /// PARAMETERS_H